{% extends "../../theme/base.html" %}


{% block zhuti %}

<div class="panel panel-black">
    <div class="panel-heading">
        <h1>查找结果</h1>
    </div>
    <ul class="list-group">
        {% for rec in infos %}
        <li class="list-group-item"><a href="/post/{{ rec.uid }}.html">{{ rec.title }}</a>
            <span class="post_cat">{% module post_tags(rec.uid) %}</span>
        </li>
        {% end %}
    </ul>
    <div class="panel-footer">

            <ul class="pagination">
                {% raw pager %}
            </ul>

    </div>
</div>

{% end %}

{% block right %}


<div class="panel panel-black">
    <div class="panel-heading">
        <h3 class="panel-title">
            最近使用
        </h3>
    </div>

    <ul class="list-group">
        {% if userinfo is None %}
        {% module app_recent_used(6) %}
        {% else %}
        {% module app_user_recent(userinfo.user_name, 6) %}
        {% end %}
    </ul>
</div>


<div class="panel panel-black">
    <div class="panel-heading">
        <h3 class="panel-title">
            使用最多
        </h3>
    </div>

    <ul class="list-group">
        {% if userinfo is None %}
        {% module app_most_used(6) %}
        {% else %}
        {% module app_user_most(userinfo.user_name, 6) %}
        {% end %}
    </ul>
</div>
{% end %}
